package com.apps.sannotation.constraints;

import java.lang.annotation.*;

/**
 * 用于验证字段的值不能小于等于注解的min
 */
@Target({ElementType.PARAMETER,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NumMin {

    float min() default 0;

    String errMsg() default "值小于等于最小允许范围";
}
